import request from '@/utils/request'
//民政局骨灰去向
export function getAshesWhereabouts(data) {
  return request({
    url: '/api/funeral-statistic/findCemeteryDirection',
    method: 'post',
    data
  })
}
//民政局 火化量统计
export function findFuneralCremation(data) {
  return request({
    url: '/api/funeral-statistic/findFuneralCremation',
    method: 'post',
    data
  })
}
//死亡原因分析
export function findMonthDieCauses(data) {
  return request({
    url: '/api/funeral-statistic/findMonthDieCauses',
    method: 'post',
    data
  })
}
//火化量年统计
//各殡仪馆年火化量柱状图
export function findYearFuneralCremation(data) {
  return request({
    url: '/api/funeral-statistic/findYearFuneralCremation',
    method: 'post',
    data
  })
}
//年火化量饼图和折线图
export function findYearCakeFuneralCremation(data) {
  return request({
    url: '/api/funeral-statistic/findYearCakeFuneralCremation',
    method: 'post',
    data
  })
}
//火化量对比页面
//获取殡仪馆列表
export function findSelectUserOrganization(data) {
  return request({
    url: '/api/funeral-statistic/findSelectUserOrganization',
    method: 'post',
    data
  })
}
//获取火化量对比数据（默认所有殡仪馆对比数据）
export function findSelectYearFuneralCremation(data) {
  return request({
    url: '/api/funeral-statistic/findSelectYearFuneralCremation',
    method: 'post',
    data
  })
}
//----------------------------------------------- 公墓基本情况页面接口--------------------------------
//公墓 个数的
export function findCemeteryNumber() {
  return request({
    url: '/api/funeral-statistic/findCemeteryNumber',
    method: 'get'
  })
}
//公墓排名
export function findFuneralCmeteryBDO() {
  return request({
    url: '/api/funeral-statistic/findFuneralCmeteryBDO',
    method: 'get'
  })
}
//------------------------------------------------运营数据页面接口-----------------
//运营数据 死亡原因追踪
export function findFuneralCremationCakeBDO() {
  return request({
    url: '/api/funeral-statistic/findFuneralCremationCakeBDO',
    method: 'get'
  })
}
//三区九县 安葬率
export function findFuneralCremationBarBDO() {
  return request({
    url: '/api/funeral-statistic/findFuneralCremationBarBDO',
    method: 'get'
  })
}
//今日安葬数量Top
export function findFuneralCmeteryBDONow() {
  return request({
    url: '/api/funeral-statistic/findFuneralCmeteryBDONow',
    method: 'get'
  })
}
//今日火化量安葬量
export function findFuneralANDCmeteryBDONow() {
  return request({
    url: '/api/funeral-statistic/findFuneralANDCmeteryBDONow',
    method: 'get'
  })
}
//--------------------------民政局获取当前用户权限区域-----------------------------
//获取当前用户权限区域
export function findRegionSelect() {
  return request({
    url: '/api/funeral-statistic/findRegionSelect',
    method: 'get'
  })
}
//----------------------------------公墓消费水平分析---------
export function findCemeteryPrice() {
  return request({
    url: '/api/funeral-statistic/findCemeteryPrice',
    method: 'get'
  })
}
